<?php

namespace app\im\controller;

use app\im\service\UserService;

/**
 * 好友
 */
class Friends extends Controller
{
    public function index()
    {
        $friends = (new UserService())->friends(get_curr_user_id());
        return resp_success($friends);
    }
}
